<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	  layout:decorate="~{admin/common/common}">
<head>
	<title>角色修改</title>
</head>

<body layout:fragment="content">
<article class="page-container">
	<form action="" method="post" class="form form-horizontal" id="form-admin-role-edit">
	<input type="hidden" th:id="id" th:name="id" th:value="${role.id}"/>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>角色名称</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" th:value="${role.name}" placeholder="" id="name" name="name" th:name="name"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>角色编码</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" th:value="${role.code}" placeholder="" id="code" name="code" th:name="code"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">描述</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" th:value="${role.description}" placeholder="" id="description" name="description" th:name="description"/>
			</div>
		</div>

		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<button type="submit" class="btn btn-success radius" id="admin-role-save"><i class="icon-ok"></i>提交</button>
			</div>
		</div>
	</form>
</article>

<script type="text/javascript" th:src="@{/js/admin/manager/admin-role-edit.js}"></script>
</body>
</html>